Constraint Satisfaction Techniques for the Generation Phase in Declarative Modeling

نویسنده

  • O. Le Roux
چکیده

Class Domain Main fields V: Variable variable associated with this domain Main methods abstract boolean isEmpty() returns true iff the domain is empty abstract List discretize() returns a discrete representation of the domain (a list of values) Domain clone() returns a copy of the Domain object abstract void setSingleValue(in val:Value) reduce domain to a single value Table 3. Domain class description. In the solver, constraints are generic. They can be defined according to the application. Abstract Class Constraint Main fields V: list variables of this constraint RM : listClass Constraint Main fields V: list variables of this constraint RM : list Main methods abstract boolean testConsistency(in t: Assignment) returns true if the constraint is satisfied, false otherwise Assignment t is a list of pairs (variable, value) boolean revise() constraint filtering method: applies reduction methods on free parameters (i.e. not yet instanciated); returns false iff inconsistency has been detected, (at least one domain is empty) Table 4. Constraint class description. A reduction method is an over-estimated projection function of a constraint on one of its variables (see definition 6). In the search process reduction methods are used to tighten domains. Abstract Class ReductionMethod Main fields C : Constraint outVar : Variable variable on which the constraint is projectedClass ReductionMethod Main fields C : Constraint outVar : Variable variable on which the constraint is projected Main methods abstract Domain proj() the projection method of C on outVar Table 5. ReductionMethod class description. Requirements: let CE be a constraint on E = D1x...xDn. Let F a set such that F ⊆ E. We denote CF the restriction of the constraint CE to F. The method proj – here written proj(C, outVar) must satisfy the two following conditions: (1): ∀i∈{1..n} CE↓Vi ⊆ proj(CE,Vi) (2): ∀i∈{1..n} proj(CF,Vi) ⊆ proj(CE,Vi)

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Using Constraint Propagation and Domain Reduction for the Generation Phase in Declarative Modeling

This paper presents an oriented object constraint solver based on constraint propagation and domain reduction for the generation phase in declarative modeling. The solver supports generic constraints and heterogeneous parameters via generic domains. This ensures adaptability and efficiency of the resolution process in complex cases. As an application, a declarative system for 3D-environments pl...

متن کامل

Workflow Flexibility by Deviation by means of Constraint Satisfaction Problem Solving

This paper introduces a novel approach for flexible workflow management by applying constraint satisfaction problem solving. This enables us to support workflow deviations at runtime, react to upcoming events or unpredictable circumstances, but still support the user through worklist suggestions. The developed workflow engine is completely based on declarative workflow representations, whereas ...

متن کامل

Generic Railway Signal Planning through Constraint Programming

Constraint programming is a flexible declarative programming paradigm. Much research has been done on developing algorithms for solving constraint problems and a wide variety of tools are available. As a step in the development of computer support for railway signal planning, the applicability of constraint solving techniques for automatic generation of signal plans has been investigated. A mod...

متن کامل

Detection and Exploitation of Functional Dependencies for Model Generation BROES DE CAT AND MAURICE BRUYNOOGHE

Recent work in Answer Set Programming has integrated ideas from Constraint Programming. This has led to a new eld called ASP Modulo CSP (CASP), in which the ASP language is enriched with constraint atoms representing constraint satisfaction problems. These constraints have a more compact grounding and are handled by a new generation of search algorithms. However, the burden is on the modeler to...

متن کامل

Using Interval Arithmetic To Model Finite Domain CSPs Where Domain Generation Is Expensive

It is generally assumed that the variables, domains and constraints of a Finite-Domain Constraint Satisfaction Problem are all pre-computed inputs to a black-box constraint satisfaction algorithm. The obvious advantages of such an assumption is the freedom in developing generic constraint solvers and the declarative use of constraint technology. However, it is useful to examine applications of ...

متن کامل

A Constraint Logic Programming Approach for Computing Ordinal Conditional Functions

In order to give appropriate semantics to qualitative conditionals of the form if A then normally B, ordinal conditional functions (OCFs) ranking the possible worlds according to their degree of plausibility can be used. An OCF accepting all conditionals of a knowledge base R can be characterized as the solution of a constraint satisfaction problem. We present a high-level, declarative approach...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2004